"use client"; import { useTranslations } from "next-intl"; import { FC, PropsWithChildren } from "react"; interface Props {} const terms = [ { label: "aml", url: "" }, { label: "terms", url: "" }, { label: "kyc", url: "" }, { label: "self", url: "" }, { label: "underage", url: "" }, { label: "responsible", url: "" }, { label: "esportes", url: "" }, ]; const HomeActions: FC> = (props) => { const t = useTranslations("HomePage"); const handler = (url: string) => { console.log(`🎯🎯🎯🎯🎯-> in HomeActions.tsx on 9`, url); }; const scrollToTop = () => { const parentEle = document.querySelector("#maincontainer"); parentEle!.scrollTo({ top: 0, behavior: "smooth" }); }; return (
{/*about*/}
handler("1")}>{t("Sobre")}
handler("2")} className={"border-l-1 border-r-1" + " border-[grey]"} > {t("Contante")}
handler("3")}>{t("Como")}
{/* service */}
{t("Service")}
{/*share*/}
{t("Share")}
{/*terms*/}
{terms.map((item, index) => { return ( {t(item.label)} ); })}
{/*LICENCIA*/}
{t("licencia")}
{t("desc")} {t("desclink")}
{t("desc2")}
{t("desc3")}
{t("desc4")}
{/*support*/}
Top
); }; export default HomeActions;